package com.hsu.system.domain.sysuser;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hsu.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Author Hsu琛君珩
 * @Date 2025-03-18 16:34
 * @Description
 * @Version: v1.0.0
 */
@TableName("tb_sys_user")
@Getter
@Setter
@ToString
public class SysUser extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID) // 雪花算法，主键不再使用 auto_increment
    private Long userId;
    private String userAccount;
    private String password;
    private String nickName;

}
